<template>
  <div class="cardIndex">
    <van-nav-bar title left-arrow @click-left="onClickLeft" fixed/>
    <div class="main">
      <div class="mainTitle">
        <div class="card">
          <div class="pic">
            <img src="../assets/images/tou.png" alt>
          </div>
          <div class="text">
            <div class="row row1">
              <div class="left">李子炫</div>
              <div class="right">
                <img src="../assets/images/chakan.png" alt>
                <span>245</span>
              </div>
            </div>
            <div class="row row2">运营总监</div>
            <div class="row row3">现信网络科技有限公司</div>
          </div>
        </div>
        <div class="describe">“负责商业资源整合（营销）运营服务商”</div>
      </div>
      <div class="ps">
        <div class="mark">标签标签标签</div>
        <div class="mark">标签标签标签</div>
        <div class="mark">标签标签标签</div>
      </div>
      <div class="info">
        <div class="phone">
          <img src="../assets/images/shouji@2x.png" alt>
          <div class="emailText">
            <div class="label">手机</div>
            <div class="value">176****5493</div>
          </div>
        </div>
        <div class="email">
          <img src="../assets/images/dkw_youxiang@2x.png" alt>
          <div class="emailText">
            <div class="label">邮箱</div>
            <div class="value">jaldkj345@163.com</div>
          </div>
        </div>
        <div class="address">
          <img src="../assets/images/ditu@2x.png" alt>
          <div class="emailText">
            <div class="label">地址</div>
            <div class="value">福建省厦门市思明区观音山99号1202室</div>
          </div>
        </div>
      </div>
    </div>
    <div class="mainUnit">
      <div class="item" @click="toArtical">
        <div class="pic">
          <img src="../assets/images/VCG41164191362.png" alt>
        </div>
        <div class="text">
          <div class="left">
            <div class="name">中华城商城订购中心</div>
            <div class="sub">这里是文章内容，很多但是不可以超过2行到第二行中</div>
          </div>
          <div class="right">
            <van-icon name="arrow"/>
          </div>
        </div>
      </div>
      <div class="item" @click="toArtical">
        <div class="pic">
          <img src="../assets/images/VCG41164191362.png" alt>
        </div>
        <div class="text">
          <div class="left">
            <div class="name">中华城商城订购中心</div>
            <div class="sub">这里是文章内容，很多但是不可以超过2行到第二行中</div>
          </div>
          <div class="right">
            <van-icon name="arrow"/>
          </div>
        </div>
      </div>
      <div class="more" @click="toArticalList">
        <span>更多文章</span>
        <img src="../assets/images/more.png" alt>
      </div>
    </div>
    <div class="activityDetail">
      <div class="box">
        <div class="title">
          <img src="../assets/images/introduction.png" alt>
        </div>
        <div
          class="textContent"
        >这里是公司简介公司简介公司简介公司简介公司简介公司简介公司简介公司简介公司简介公司简介公司简介公司简介公司简介公司简介公司简介公司简介公司简介公司简介公司简介公司简介公司简介公司简介公司简介公司简介公司简介公司简介公司简介公司简介公司简介公司简介公司简介公司简介公司简介公司简介</div>
      </div>
      <div class="box">
        <div class="title">
          <img src="../assets/images/prop.png" alt>
        </div>
        <div class="textContent">
          <video width="100%" height="240" controls src>您的浏览器不支持 video 标签。</video>
        </div>
      </div>
      <div class="box">
        <div class="title">
          <img src="../assets/images/photo.png" alt>
        </div>
        <div class="textContent">
          <div class="pic">
            <img src="../assets/images/VCG41164191362.png" alt>
          </div>
          <div class="pic">
            <img src="../assets/images/VCG41164191362.png" alt>
          </div>
        </div>
      </div>
      <div class="footPic">
        <img src="../assets/images/cardText.png" alt>
      </div>
    </div>
    <div class="footer">
      <div class="actionItem" @click="showDialog">
        <img src="../assets/images/focusOn.png" alt>
        <span>关注</span>
      </div>
      <div class="actionItem" @click="showDialog">
        <img src="../assets/images/callect.png" alt>
        <span>收藏</span>
      </div>
      <div class="actionItem" @click="showDialog">
        <img src="../assets/images/exchange.png" alt>
        <span>交换</span>
      </div>
      <div class="actionItem" @click="showDialog">
        <img src="../assets/images/message.png" alt>
        <span>发消息</span>
      </div>
    </div>
    <div class="bindPhone">
      <van-dialog
        v-model="showBind"
        title="您还没有绑定手机号哦~"
        show-cancel-button
        @confirm="bindConfirm"
        @cancel="cancelBind"
      >
        <div class="dialogContent">
          <div class="row row1">
            <label>手机号</label>
            <input type="number">
          </div>
          <div class="row row2">
            <label>验证码</label>
            <font>
              <input type="text">
              <span>发送验证码</span>
            </font>
          </div>
        </div>
      </van-dialog>
    </div>
  </div>
</template>
<script>
export default {
  name: "cardIndex",
  data() {
    return {
      showBind: false,
      showSku: false,
      numValue: 1
    };
  },
  mounted() {},
  methods: {
    onClickLeft() {
      this.$router.back();
    },
    showDialog() {
      this.showBind = true;
    },
    //确认绑定手机
    bindConfirm() {
      //绑定成功后跳转
      this.$router.push({
        path: "/login"
      });
    },
    cancelBind() {
      //取消绑定
      this.showBind = false;
    },
    //跳往文章列表
    toArticalList() {
      this.$router.push({
        path: "/articalList"
      });
    },
    //跳往文章详情
    toArtical(){
      this.$router.push({
        path: "/artical",
        query:{
          
        }
      });
    }
  }
};
</script>
<style scoped>
.cardIndex {
  padding-bottom: 0.5rem;
}
.van-nav-bar {
  background: none;
}
.main {
  background: url("../assets/images/VCG41164191362.png") no-repeat;
  width: 100%;
  background-color: #fff;
  background-size: 100% auto;
  padding-top: 1.2rem;
}
.van-nav-bar .van-icon {
  color: #fff;
}
[class*="van-hairline"]::after {
  border: none;
}
.mainTitle {
  width: 80%;
  margin: 0 auto;
  background: #fff;
  box-shadow: 1px 0px 9px 0px rgba(253, 209, 209, 0.15);
  border-radius: 5px;
  padding: 0.1rem 0.1rem 0rem;
}
.mainTitle .card {
  display: flex;
  padding-bottom: 0.14rem;
}
.mainTitle .card .pic img {
  width: 0.82rem;
  height: 0.82rem;
}
.mainTitle .card .text {
  padding-left: 0.13rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: auto;
}
.mainTitle .card .text .row1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mainTitle .card .text .row1 .left {
  font-size: 0.19rem;
  font-family: PingFangSC-Medium;
  font-weight: 500;
  color: rgba(0, 0, 0, 1);
}
.mainTitle .card .text .row1 .right {
  display: flex;
  align-items: center;
}
.mainTitle .card .text .row1 .right span {
  padding-left: 0.06rem;
  font-size: 0.12rem;
  color: #8b8b8b;
}
.mainTitle .card .text .row1 img {
  width: 0.15rem;
  height: 0.11rem;
}
.mainTitle .card .text .row2 {
  font-size: 0.13rem;
  font-family: PingFangSC-Regular;
  font-weight: 400;
  color: rgba(63, 63, 63, 1);
}
.mainTitle .card .text .row3 {
  font-size: 0.14rem;
  font-family: PingFangSC-Regular;
  font-weight: 400;
  color: rgba(56, 56, 56, 1);
}

.mainTitle .describe {
  border-top: 1px solid #e3e3e3;
  height: 0.26rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.12rem;
  color: #54b1ff;
}
.ps {
  margin-top: 0.15rem;
  width: 100%;
  font-size: 0.12rem;
  color: #747474;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ps .mark {
  height: 0.28rem;
  background: #dcf8ff;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0.04rem;
  padding: 0 0.1rem;
}
.info {
  margin-top: 0.2rem;
  padding: 0 0.15rem 0.2rem 0.33rem;
}
.info > div {
  display: flex;
  align-items: center;
  margin-bottom: 0.2rem;
}
.info > div:last-of-type {
  margin-bottom: 0;
}
.info > div img {
  width: 0.16rem;
}
.info .emailText {
  padding-left: 0.2rem;
}
.info .emailText .label {
  font-size: 0.12rem;
  color: #7a7979;
  margin-bottom: 0.1rem;
}
.info > div span {
  font-size: 0.13rem;
  color: #000000;
  padding-left: 0.1rem;
}

.mainUnit {
  width: 100%;
  /* margin: 0.1rem auto 0.14rem; */
  border-radius: 5px;
  padding: 0.16rem 0.16rem;
}
.mainUnit .item {
  background-color: #fff;
  padding: 0.14rem 0.1rem;
  display: flex;
  align-items: center;
  margin-bottom: 0.06rem;
}
.mainUnit .item .pic img {
  width: 0.64rem;
  height: 0.64rem;
}
.mainUnit .item .text {
  padding-left: 0.18rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: auto;
  height: 100%;
}
.mainUnit .item .text .left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.mainUnit .item .text .left .name {
  font-size: 0.14rem;
  font-family: PingFangSC-Medium;
  font-weight: 500;
  color: rgba(0, 0, 0, 1);
  margin-bottom: 0.15rem;
}
.mainUnit .item .text .left .sub {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 1.8rem;
}
.mainUnit .more {
  background-color: #fff;
  padding: 0.14rem 0.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mainUnit .more span {
  font-size: 0.13rem;
  font-family: PingFangSC;
  font-weight: 400;
  color: rgba(86, 86, 86, 1);
  padding-right: 0.08rem;
}
.mainUnit .more img {
  width: 0.1rem;
  height: 0.1rem;
}
.activityDetail {
  background: #fff;
  padding: 0 0.15rem;
}
.activityDetail .box {
  padding-top: 0.24rem;
}
.activityDetail .box .title {
  margin-bottom: 0.1rem;
}
.activityDetail .box .title img {
  width: 0.44rem;
}
.activityDetail .box .textContent {
  font-size: 0.13rem;
  font-family: PingFangSC;
  font-weight: 400;
  color: rgba(86, 86, 86, 1);
}
.activityDetail .box .textContent .pic {
  margin-bottom: 0.1rem;
}
.activityDetail .box .textContent .pic img {
  width: 100%;
}
.activityDetail .footPic {
  padding: 0.3rem 0;
  text-align: center;
}
.activityDetail .footPic img {
  width: 50%;
}
.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  background: #fff;
  height: 0.5rem;
  width: 100%;
  border-top: 1px solid #cccccc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.15rem;
}
.footer .actionItem img {
  width: 0.2rem;
  height: 0.2rem;
}
.footer .actionItem span {
  padding-left: 0.1rem;
}

.dialogContent {
  padding: 0.24rem 0.16rem;
}
.dialogContent .row1 {
  margin-bottom: 0.22rem;
}
.dialogContent label {
  font-size: 0.14rem;
  color: #353535;
  padding-right: 0.14rem;
}
.dialogContent .row1 input {
  width: 2rem;
  height: 0.3rem;
  border-radius: 5px;
  border: 1px solid #e5e5e5;
  padding-left: 0.05rem;
}
.dialogContent .row2 font {
  border: 1px solid #e5e5e5;
  width: 2rem;
  height: 0.3rem;
  display: inline-block;
  border-radius: 5px;
  border-right: none;
}
.dialogContent .row2 input {
  width: 1.16rem;
  height: 0.3rem;
  padding-left: 0.05rem;
  border: none;
}
.dialogContent .row2 span {
  width: 0.77rem;
  height: 0.3rem;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  background: #00c6d8;
  color: #fff;
  font-size: 0.12rem;
  display: inline-block;
  vertical-align: top;
  text-align: center;
  line-height: 0.3rem;
}
.bindPhone >>> .van-dialog__confirm,
.bindPhone >>> .van-dialog__confirm:active {
  color: #00c6d8;
}
.van-actionsheet__header {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  padding: 0.3rem 0.4rem 0;
  font-size: 0.18rem;
  color: #000000;
}
.chooseSku .content {
  margin-top: 0.24rem;
}
.chooseSku .content .ticket {
  padding: 0 0.12rem;
  width: 100%;
}
.chooseSku .content .ticket .row1 {
  margin-bottom: 0.08rem;
}
.chooseSku .content .ticket .row1 .ticketBox {
  width: 100%;
  height: 0.38rem;
  border: 1px solid rgba(211, 211, 211, 1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.1rem;
}
.chooseSku .content .ticket .row .ticketBox .name {
  font-size: 0.13rem;
  color: #000;
}
.chooseSku .content .ticket .row .ticketBox .price {
  font-size: 0.15rem;
  color: #00c6d8;
}
.chooseSku .content .ticket .row2 {
  display: flex;
  justify-content: space-between;
}
.chooseSku .content .ticket .row2 .ticketBox {
  width: 49%;
  height: 0.38rem;
  border: 1px solid rgba(211, 211, 211, 1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.1rem;
}
.chooseSku .content .num {
  margin-top: 0.23rem;
  padding: 0 0.23rem;
  display: flex;
  align-items: center;
}
.chooseSku .content .num label {
  padding-right: 0.16rem;
  font-size: 0.15rem;
  color: #000;
}
.chooseSku .content .next {
  margin-top: 0.2rem;
  padding-left: 0.12rem;
  display: flex;
  width: 100%;
  height: 0.5rem;
}
.chooseSku .content .next .total {
  width: 60%;
  display: flex;
  align-items: center;
  font-size: 0.15rem;
  color: #000;
  border-top: 1px solid #d3d3d3;
}
.chooseSku .content .next .btn {
  width: 40%;
  display: flex;
  align-items: center;
  font-size: 0.17rem;
  color: #fff;
  background: #00c6d8;
  justify-content: center;
}
</style>


